package com.aspose.cells.a.d.a.b;

import java.awt.Color;
import java.awt.Rectangle;
import java.awt.geom.Rectangle2D;
import java.io.IOException;

public class ze extends zs {
   private int a;
   private int b;
   private int c;
   private String d;
   private Rectangle e;

   public ze(Color var1, int var2, int var3, String var4, Rectangle var5) {
      this.a = var1.getRGB();
      this.c = var3;
      this.d = var4;
      this.e = var5;
      this.b = '耀' | var2;
   }

   public int b() {
      return 16412;
   }

   public int c() {
      return ((this.d.length() & 1) != 0 ? 42 : 40) + (this.d.length() << 1);
   }

   public int a(com.aspose.cells.a.d.a.zb var1) throws IOException {
      var1.c(16412);
      var1.c(this.b);
      int var2 = this.c();
      var1.b(var2);
      var1.b(var2 - 12);
      var1.b(this.a);
      var1.b(this.c);
      var1.b(this.d.length());
      var1.a((Rectangle2D)this.e);
      var1.a(this.d);
      if ((this.d.length() & 1) != 0) {
         var1.c(0);
      }

      return var2;
   }
}
